{extend name="base" /}
{block name="css"}
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/mmgrid/mmGrid.css?v={$v}" />
{/block}
{block name="js"}
<script src="__STATIC__/plugins/mmgrid/mmGrid.js?v={$v}" type="text/javascript"></script>
<script src="__ADMIN__/goodsappraises/goodsappraises.js?v={$v}" type="text/javascript"></script>
{/block}
{block name="main"}
<div class="wst-toolbar">
	<div id="query" style="float:left;">
		<select id="areaId1" class='query' level="0" onchange="WST.ITAreas({id:'areaId1',val:this.value,className:'query'});" >
		  <option value="-1">-请选择地区-</option>
		  {foreach $area1 as $v}
        	<option value="<?=$v['areaId']?>"><?=$v['areaName']?></option>
          {/foreach}
		</select>
		<input type="text" name="shopName" placeholder='店铺名称' id="shopName" class="query" />
		<input type="text" name="goodsName" placeholder='商品名称' id="goodsName" class="query" />
		<button type="button"  class='btn btn-primary btn-mright' onclick="javascript:loadGrid()"><i class="fa fa-search"></i>查询</button>
	</div>
   <div style="clear:both"></div>
</div>
<div class='wst-grid'>
 <div id="mmg" class="mmg layui-form"></div>
 <div id="pg" style="text-align: right;"></div>
</div>
<script>
$(function(){
	initGrid({$p});
});
</script>

{/block}